AI-Powered Data Modeling

AI-powered data modeling features in erwin Data Modeler (erwin DM) are designed to simplify and accelerate your modeling workflows. With AI assistance, you can generate starter-level data models and validate DDL scripts and reduce manual effort and minimize errors. This helps you save time and improve overall efficiency.

Prerequisites

Ensure that you have:

  • purchased the erwin DM AI Add-On.

  • access to the Quest Licensing portal.

  • internet connectivity for key generation and validation

  • access to erwin Mart Portal

  • AI credentials

    • AI License Key: This is available in the welcome email or under your active license details in the Quest Licensing Portal.

    • Client ID and Client Secret: These can be generated in the My Access Keys section of the Quest Licensing Portal.

To purchase a license for the erwin DM AI Add-On, contact your Sales representative or visit the Quest Sales page to request the AI Add-On. Complete the purchase process as guided by the sales team. After the purchase is confirmed, you will receive a welcome email with your license information and instructions to access the Quest Licensing Portal.

The general workflow to use AI-powered data modeling includes the following steps:

  1. Configure license, assign users, and enable the AI Add-On feature

  2. Enable AI license in erwin Mart Portal

  3. Using AI for data modeling.

Configuring Licenses, Users, and Feature

After you have a license for the erwin DM AI Add-On, do the following:

  1. Assign users to licenses.

  2. Enable the AI add-on.

  3. Create access keys.

Enabling AI Licenses

By default, AI features are disabled. To enable them, you need to configure your AI Add-On license via erwin Mart Portal and ensure that erwin DM is connected to the erwin Mart Portal.

To enable AI features, follow these steps:

  1. Log in to the erwin Mart Portal.

  2. Go to Application Menu > Settings > General.

    The General page appears.

  3. Scroll to the DM AI Credentials section.

  4. Enter your AI license key, client ID, and client secret in the appropriate fields.

  5. Click Save.

    Your AI credentials are saved, and AI features are enabled in erwin DM.

You can also use erwin AI to generate and update business term descriptions and definitions in Enterprise Glossary on erwin Mart Portal. For more information, refer to the Add Business Terms topic.

Using AI for Data Modeling

You can use AI for data modeling in erwin DM for the following tasks:

As an example, this section walks you through the process of working on MongoDB models using AI. Similarly, you can work on data models for other databases.

The AI Validate Preview feature has token limitations. If your script is too long, it may be truncated or generation or validation may fail. During validation, syntax or keyword mismatches may also occur due to differences in supported database versions. In such cases, you must manually correct the script before running it.

For any AI-generated DDL scripts, you also use the following options:

  • Search (): Use this option to search for a word or characters in the schema.

  • Save (): Use this option to save the generated script.

  • Copy (): Use this option to copy the script.

  • Replace (): Use this option to find and replace characters in the script.

  • Text Options (): Use this option to configure the preview text editor's look and feel, such as window, font, and syntax color settings.

  • AI Terms of Use: Use this option to view terms and conditions for AI features in erwin DM.

  • Was this helpful?: Use this option to provide feedback on the AI features. Click or , add your comments, and then, click Submit.